package com.mindao.app.ued.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Lob;
import javax.persistence.Table;

import com.mindao.app.common.spring.model.BaseModel;



@Entity
@Table(name = "manager_tpltb3")
public class Tpltb3 extends BaseModel implements Serializable {
	private static final long serialVersionUID = 1L;
//	private Long id;
	public String projectId;
	private String title;
	private String requestid;
	private String startTime;
	private String requestDesc;
	private String priority;
	private String content;//详细内容
	private Date deadline;//完成期限
	private String attachment;//附件id,多个id逗号隔开。
	private Long assigner;//处理人
//	//有安全要求的页面使用uuid修改和删除和查看数据，避免数据泄露
//	private String uuid;
	

	public Tpltb3() {
		super();
	}

//	public Tpltb3(String projectId, String title, String requestid, String startTime, String requestDesc, String priority) {
//		super();
//		this.projectId = projectId;
//		this.title = title;
//		this.requestid = requestid;
//		this.startTime = startTime;
//		this.requestDesc = requestDesc;
//		this.priority = priority;
//	}

//	@Id
//	@GeneratedValue
//	public Long getId() {
//		return id;
//	}
//
//	public void setId(Long id) {
//		this.id = id;
//	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getRequestid() {
		return requestid;
	}

	public void setRequestid(String requestid) {
		this.requestid = requestid;
	}

	public String getProjectId() {
		return projectId;
	}

	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getRequestDesc() {
		return requestDesc;
	}

	public void setRequestDesc(String requestDesc) {
		this.requestDesc = requestDesc;
	}

	public String getPriority() {
		return priority;
	}

	public void setPriority(String priority) {
		this.priority = priority;
	}

	

//	public String getUuid() {
//		return uuid;
//	}
//
//	public void setUuid(String uuid) {
//		this.uuid = uuid;
//	}

	@Override
	public String toString() {
		return "Tpltb3 [id=" + id + ",deadline=" + deadline + ", projectId=" + projectId + ", title=" + title + ", requestid=" + requestid + ", startTime=" + startTime + ", requestDesc=" + requestDesc + ", priority="
				+ priority + "]";
	}

	public String getAttachment() {
		return attachment;
	}

	public void setAttachment(String attachment) {
		this.attachment = attachment;
	}
 
	public Date getDeadline() {
		return deadline;
	}

	public void setDeadline(Date deadline) {
		this.deadline = deadline;
	}

	public Long getAssigner() {
		return assigner;
	}

	public void setAssigner(Long assigner) {
		this.assigner = assigner;
	}
	 @Lob
	 @Basic(fetch = FetchType.EAGER)
	 @Column(name="REMARK", columnDefinition="CLOB", nullable=true) 
	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

 
	
	
	
}